/**
 * Copyright:Copyright(c)2014-2017
 * Company:厦门市易致达物联网科技有限公司
 * @version 1.0
 */
package shop.controller.manage.question;
import shop.core.common.bean.JSONResult;
import shop.core.util.KeyValueHelper;
import shop.core.Services;
import shop.core.util.MD5;
import shop.services.manage.question.QuestionService;
import shop.services.manage.question.bean.Question;
import shop.core.BaseController;
import shop.core.RequestHolder;
import org.apache.commons.lang.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.*;

/**   
 * @类名称：QuestionAction      
 * @创建人：wzl
 * @创建时间：2018-05-09 下午19:24:51      
 * @版本号：1.0
 * @描述：     
 */
@Controller
@RequestMapping("/manage/question/")
public class QuestionAction extends BaseController<Question> {
    private static final Logger logger = LoggerFactory.getLogger(QuestionAction.class);
    @Autowired
    private QuestionService questionService;
    private static final String page_toList = "/manage/helpCenter/questionList";
    private static final String page_toAdd = "/manage/helpCenter/questionAdd";
    private static final String page_toEdit = "/manage/helpCenter/questionEdit";
    public QuestionService getService() {
        return questionService;
    }

    private QuestionAction(){
        super.page_toList = page_toList;
        super.page_toAdd = page_toAdd;
        super.page_toEdit = page_toEdit;
    }
}
